/*
 * Copyright 2010 Biz-e (info@biz-e.nl)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package nl.biz_e.urenfact.shared.model;

import java.util.Date;

import javax.persistence.Id;

import nl.biz_e.appengine.lib.shared.objectify.IEntity;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

/**
 * TODO: Write type comment
 * 
 * @author Joost A. Bloemsma
 */
@Unindexed
public class Project implements IEntity {
    @Id
    private Long id;
    @Indexed
    private String projNrIntern;
    private String projNrClient;
    private String description;
    @Indexed
    private Date start;
    @Indexed
    private Date end;
    @Indexed
    private Key<Client> client;

    /**
     * {@inheritDoc}
     */
    @Override
    public Long getId() {
        // TODO Auto-generated method stub
        return null;
    }

    /**
     * @return the projNrIntern
     */
    public String getProjNrIntern() {
        return projNrIntern;
    }

    /**
     * @param projNrIntern
     *            the projNrIntern to set
     */
    public void setProjNrIntern(String projNrIntern) {
        this.projNrIntern = projNrIntern;
    }

    /**
     * @return the projNrClient
     */
    public String getProjNrClient() {
        return projNrClient;
    }

    /**
     * @param projNrClient
     *            the projNrClient to set
     */
    public void setProjNrClient(String projNrClient) {
        this.projNrClient = projNrClient;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     *            the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the start
     */
    public Date getStart() {
        return start;
    }

    /**
     * @param start
     *            the start to set
     */
    public void setStart(Date start) {
        this.start = start;
    }

    /**
     * @return the end
     */
    public Date getEnd() {
        return end;
    }

    /**
     * @param end
     *            the end to set
     */
    public void setEnd(Date end) {
        this.end = end;
    }

    /**
     * @return the client
     */
    public Key<Client> getClient() {
        return client;
    }

    /**
     * @param client
     *            the client to set
     */
    public void setClient(Key<Client> client) {
        this.client = client;
    }

}
